package com.quanxiaoha.weblog.web.model.vo.favorite;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 添加收藏请求VO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "添加收藏请求VO")
public class AddFavoriteReqVO {

    @ApiModelProperty(value = "文章ID", required = true)
    private Long articleId;

    @ApiModelProperty(value = "会话ID（用于匿名用户）")
    private String sessionId;

    @ApiModelProperty(value = "类型：1-喜欢 2-收藏", required = true)
    private Integer type;

    @ApiModelProperty(value = "收藏夹ID（可选，如果不指定则添加到默认收藏夹）")
    private Long folderId;
}
